.PHONY:all
all:clientcal servercal

Flag=-DMySelf=1
Lib=-ljsoncpp

clientcal:ClientCal.cc
	g++ -o $@ $^ -std=c++11 $(Lib) #$(Flag)
servercal:ServerCal.cc
	g++ -o $@ $^ -std=c++11 -g $(Lib) #$(Flag)

.PHONY:clean
clean:
	rm -rf clientcal servercal